package com.xpqh.ksg.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * jwt相关配置
 *
 * @author lizhihui
 * @date 2025.03.21
 */
@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = JwtProperties.JWT_PREFIX)
public class JwtProperties {

    public static final String JWT_PREFIX = "jwt";

    private String defaultToken;

    private String randomKey;

    private String header;

    private String secret;

    private Long expiration;

    private String authPath;

    private String md5Key;

}
